home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / utility / freedos.zip / COM050.ZIP / COMMAND.H < prev    next >
Text File  |  1996-01-17  |  2KB  |  61 lines

  1. /* COMMAND.H
  2.  * header file for the modules in COMMAND.COM
  3.  * Tim Norman
  4.  * 7-15-95
  5. */
  6.  
  7. #define EnvSeg (*(unsigned far*)MK_FP(_psp, 0x2c))
  8. #define OwnerPSP (*(unsigned far *)MK_FP(_psp, 0x16))
  9.  
  10. /* prototypes for COMMAND.C */
  11. void fatal_error (char *);
  12. char is_delim (char);
  13. int strip (char *);
  14. unsigned char split (char *, char *[128]);
  15. char is_special (char);
  16. void parsecommandline (char *);
  17. int c_brk (void);
  18. void initialize (int, char *[]);
  19. int process_input (void);
  20.  
  21. /* prototypes for INTERNAL.C */
  22. void dir(int, char *[128], char *);
  23. void cd(int, char *[128], char *);
  24. void md(int, char *[128], char *);
  25. void rd(int, char *[128], char *);
  26. void set(int, char *[128], char *);
  27. void ver(int, char *[128], char *);
  28. void del(int, char *[128], char *);
  29. void ren(int, char *[128], char *);
  30. void internal_exit(int, char *[128], char *);
  31. void rem(int, char *[128], char *);
  32. void doskey(int, char *[128], char *);
  33. void prompt(int, char *[128], char *);
  34.  
  35. /* prototypes for ENVIRON.C */
  36. void show_environment (void);
  37.  
  38. /* prototypes from PROMPT.C */
  39. void printprompt (void);
  40.  
  41. /* prototypes for CMDINPUT.C */
  42. void readcommand (char *, int);
  43.  
  44. /* prototypes for BATCH.C */
  45. int batch(char *, int, char**);
  46. int _getch(void);
  47.  
  48. /* prototypes for WHERE.C */
  49. void get_paths (char *[129]);
  50. int find_which (char *[129], char *, char *);
  51.  
  52. /* prototypes for EXEC.C */
  53. int exec (const char *, char *, const unsigned);
  54.  
  55. /* prototypes for REDIR.C */
  56. void get_redirection (char *, char *, char *, char *[128], int *);
  57.  
  58. /* prototypes for LOADHIGH.C */
  59. void loadhigh (int, char *[128], char *);
  60. void loadfix (int, char *[128], char *);
  61.